#include "student.h"
#include <qDebug>

Student::Student() {}

Student::Student(QString xh, QString name)
{
    this->m_xh = xh;
    this->m_name = name;
}

Student::Student(int courseId, double courseScore)
{
    this->m_courseScore[courseId] = courseScore;
}

void Student::setXh(QString xh)
{
    this->m_xh = xh;
}

void Student::setName(QString name)
{
    this->m_name = name;
}

void Student::setCourseScore(int courseId, double courseScore)
{
    this->m_courseScore[courseId] = courseScore;
}

void Student::setCharityScore(int gyf)
{
    this->m_charityScore = gyf;
}

void Student::setConductScore(double cxf)
{
    this->m_conductScore = cxf;
}

void Student::setTy(double ty)
{
    this->m_ty = ty;
}

void Student::setKc(double kc)
{
    this->m_kc = kc;
}

void Student::setGyf(double gyf)
{
    this->m_gyf = gyf;
}

void Student::setCxf(double cxf)
{
    this->m_cxf = cxf;
}

void Student::setJxj(double jxj)
{
    this->m_jxj = jxj;
}

void Student::setPm(int pm)
{
    this->m_pm = pm;
}

QString Student::getXh()
{
    return this->m_xh;
}

QString Student::getName()
{
    return this->m_name;
}

double Student::getCourseScore(int courseId)
{
    return this->m_courseScore[courseId];
}

int Student::getCharityScore()
{
    return this->m_charityScore;
}

double Student::getConductScore()
{
    return this->m_conductScore;
}

double Student::getTy()
{
    return this->m_ty;
}

double Student::getKc()
{
    return this->m_kc;
}

double Student::getGyf()
{
    return this->m_gyf;
}

double Student::getCxf()
{
    return this->m_cxf;
}

double Student::getJxj()
{
    return this->m_jxj;
}

double Student::getPm()
{
    return this->m_pm;
}


